

package com.hexinfo.dmpro.dev.data.transfer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hexinfo.dmpro.dev.data.transfer.model.DevDataExportTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 总导出任务表
 *
 * @author yyh.huang
 * @date 2023-10-25 19:16:06
 */
@Mapper
public interface DevDataExportTaskMapper extends BaseMapper<DevDataExportTask> {

    int modifySuccessNumByTaskCode(@Param("taskCode") String taskCode);

    int modifyFailNumByTaskCode(@Param("taskCode") String taskCode);

    int reduceSuccessNumByTaskCode(@Param("taskCode") String taskCode);

    int reduceFailNumByTaskCode(@Param("taskCode") String taskCode);

    int modifyStatusByTaskCode(@Param("taskCode") String taskCode, @Param("endTime") String endTime);
}
